package com.sdp.irrigation.utils;

import lombok.Getter;

@Getter
public enum DownlinkCodeEnum {

	PUMP_ON(180, "打开水泵"),//打开水泵
	
	PUMP_OFF(190, "关闭水泵"),//关闭水泵
	
	VALVE_ON_OFF(200, "开关阀门"),//开关阀门
	
	DESILTING(910, "排沙"),//排沙
	
	WATER_SUPPLY(920, "加水"),//加水
	
	AGITATION(930, "搅拌"),//搅拌
	
	FERTIGATION(950, "施肥"),//施肥
	
	SETTLE(210, "结账");//结账
	
	final private int code;
	
	final private String name;
	
	DownlinkCodeEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }
}
